This command is new in PageMaker 6.5
PFrameContentPos(short nVertAlign, short nHorzAlign, short nScaleType, short bKeepAspectRatio);
Example. This example aligns the content with the center of the frame both horizontally and vertically. The content size and aspect ratio are left unchanged.short nVertAlign;
Vertical alignment of the content within the frame.
0 - top of frame
1 - center of frame
2 - bottom of frame
kParmDontCare - leave unchangedshort nHorzAlign;
Horizontal alignment of the content within the frame.
0 - left edge of frame
1 - center of frame
2 - right edge of frame
kParmDontCare - leave unchangedshort nScaleType;
Scaling option for content.
0 - clip to fit frame
1 - resize to fit frame
2 - scale frame to fit content
kParmDontCare - leave unchangedshort bKeepAspectRatio;
Aspect ratio for scaled object.
1 - keep the aspect ratio
2 - resize horizontal and vertical independently
kParmDontCare - leave this option unchanged
PFrameContentPos(1, 1, kParmDontCare, kParmDontCare);
The PGetFrameContentPos, PGetFrameInset, PGetFrameContentType, PGetIsFrame, and PGetNextFrame queries
Comments or suggestions? Contact Adobe Developer Support